package it.polimi.entitiesDTO;

import java.sql.Time;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

public class AttractionDTO {
	
	@NotNull
	private int id;
	
	@NotEmpty
	private String city;
	
	private String description;
	
	@NotNull
	private Time duration;
	
	@NotNull
	private int price;
	
	@NotNull
	private int spots;
	
	@NotNull
	private boolean visibility;

	
	public int getID() {
		return id;
	}
	
	public void setID(int id){
		this.id=id;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Time getDuration() {
		return duration;
	}

	public void setDuration(Time duration) {
		this.duration = duration;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public int getSpots() {
		return spots;
	}

	public void setSpots(int spots) {
		this.spots = spots;
	}

	public boolean isVisibility() {
		return visibility;
	}

	public void setVisibility(boolean visibility) {
		this.visibility = visibility;
	}

}
